package com.dom.api.purc;

import com.dom.common.model.vo.apply.*;
import com.dom.common.model.vo.basic.B059A;
import com.dom.common.model.vo.basic.B059R;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Description 采购单服务接口
 * @Author xllei
 * @Date 2018/12/9 3:36 AM
 * @Version 1.0
 **/
@RequestMapping("/invo/purc/cred/")
public interface PurcCredApi {
    /**
     * 分页获取采购单数据
     * @param request
     * @return
     */
    @RequestMapping(value="getPurcCredPager", method = RequestMethod.POST)
    P059A getPurcCredPager(@RequestBody P059R request);

    /**
     * 录入采购单
     * @param request
     * @return
     */
    @RequestMapping(value = "addPurcCred", method = RequestMethod.POST)
    P050A addPurcCred(@RequestBody P050R request);

    @RequestMapping(value="getCredParticulars", method = RequestMethod.POST)
    P053A getCredParticulars(@RequestBody P053R request);

    @RequestMapping(value = "delCredPurcInfo", method = RequestMethod.POST)
    P051A delCredPurcInfo(@RequestBody P051R request);

    @RequestMapping(value = "getPurcCredDetailList", method = RequestMethod.POST)
    P069A getPurcCredDetailList(@RequestBody P069R request);

    @RequestMapping(value = "editPurcCred", method = RequestMethod.POST)
    P052A editPurcCred(@RequestBody P052R request);
}
